package com.yb.guigu.pick.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 城市仓库关联表
 * </p>
 *
 * @author 姚兵
 * @since 2023-06-10
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("region_ware")
@ApiModel(value = "RegionWare对象", description = "城市仓库关联表")
public class RegionWare {

    @ApiModelProperty("id")
    @TableId("id")
    private Long id;

    @ApiModelProperty("开通区域")
    @TableField("region")
    private String region;

    @ApiModelProperty("区域名称")
    @TableField("region_name")
    private String regionName;

    @ApiModelProperty("仓库")
    @TableField("ware_id")
    private Long wareId;

    @ApiModelProperty("仓库名称")
    @TableField("ware_name")
    private String wareName;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("删除标记（0:不可用 1:可用）")
    @TableField("is_deleted")
    private Integer isDeleted;


}
